package com.ht.temp.service;

import com.ht.temp.entity.Equipment;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author mayke_zhou
 * @since 2018-12-19
 */
public interface IEquipmentService extends IService<Equipment> {

    int deleteByPrimaryKey(Integer equipmentId);//删除

    int insertSelective(Equipment record);//插入

    List<Equipment> selectByEquipment(Equipment record);//查询所有

    Equipment selectByPrimaryKey(Integer equipmentId);//根据id查

    Integer editByEquipment(Equipment record);

    Integer editState(Integer state ,Integer id);
}
